//@author A0096466N
//
// **********
//
// autoeditstatus class takes in the entire storage of tasks via vector<Task>
// and checks for 2 things.
//
// first it identifies which tasks are DONE and are at least 1 week in the past.
// if so, it changes DONE -> ARCHIVE
//
// second, it identifies which tasks are WIP and are overdue.
// if so, it changes WIP -> CMI
//
// **********

#ifndef AUTOEDITSTATUS_H
#define AUTOEDITSTATUS_H

#include "Task.h"
#include "Storage.h"
#include "Parser.h"
class AutoEditStatus {

private:
	bool archive(vector <Task> &, const time_t &);
	bool overdue(vector <Task> &, const time_t &);
	void editInTxtStorage(vector<Task>);

public:
	AutoEditStatus(void);
	~AutoEditStatus(void);
	void execute(vector <Task> &);
};

#endif